/**
 *
 *
A is = 1024
0 is = 0
A is = 256
0 is = 0
A is = A
a is = A
A is = a
a is = a

 *
 *
 */
#include<stdio.h>
#include<ctype.h>

int main(int argc, const char* argv[]){

	//isalpha 判断是否是字母
	printf("A is = %d\n", isalpha('A'));
	printf("0 is = %d\n", isalpha('0'));

	//isupper 判断是否是大写字母
	printf("A is = %d\n", isupper('A'));
	printf("0 is = %d\n", isupper('0'));

	//toupper 小写字母转换成大写字母，非小写不转换
	printf("A is = %c\n", toupper('A'));
	printf("a is = %c\n", toupper('a'));

	//tolower 大写字母转换成小写字母，非大写不转换
	printf("A is = %c\n", tolower('A'));
	printf("a is = %c\n", tolower('a'));

	return 0;
}
